package com.yinhai.redis.cluster.event;

public class ClusterEvent extends Event{
	
	/**
	 * 新增节点
	 */
	public static final int SHARD_ADDED=0;
	
	/**
	 * 节点删除
	 */
	public static final int SHARD_REMOVED=1;
	
	/**
	 * 节点间同步复制完成
	 */
	public static final int SYNCHRONIZE_DONE=2;
	
	/**
	 * 节点间同步复制出错
	 */
	public static final int SYNCHRONIZE_ERROR=3;
	
	/**
	 * 节点间同步复制开始
	 */
	public static final int SYNCHRONIZE_START=4;
	

}
